package com.chexiehui.jc.mvp.car;

import com.chexiehui.jc.Constants;
import com.chexiehui.jc.base.BaseModel;
import com.chexiehui.jc.base.BaseView;
import com.chexiehui.jc.entity.CarPkListInfo;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * @Description 车型pk
 * @Auth SongJun
 * @Date 2020/05/21 00:18
 **/
public interface CarBrandParameterCompareCovenant {

    interface View extends BaseView {
        void onGetPkInfoSuccess(BaseModel<List<CarPkListInfo>> successResult);

        void onGetPkInfoFailure(BaseModel<Object> failureResult);

        String getCarIds();
    }

    interface Stores {
        @FormUrlEncoded
        @POST(Constants.URL_PK_CAR_DETAILS_LIST)
        Observable<BaseModel<List<CarPkListInfo>>> getPkInfo(@Field("Ids") String Ids);
    }

    interface Presenter {
        void getPkInfo();
    }

}